package com.jxdinfo.hussar.activitidemo.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2019-05-23
 */
@TableName("TDB_YJ_M_CALL_RECORD")
public class TdbYjMCallRecord extends Model<TdbYjMCallRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableField("S_ID")
    private String sId;
    /**
     * 来电号码
     */
    @TableField("S_NUMBER")
    private String sNumber;
    /**
     * 来电姓名
     */
    @TableField("S_NAME")
    private String sName;
    /**
     * 车次
     */
    @TableField("S_TRAIN")
    private String sTrain;
    /**
     * 来电时间
     */
    @TableField("S_CALL_TIME")
    private long sCallTime;
    /**
     * 来电类型 1 来电
     */
    @TableField("S_TYPE")
    private Integer sType;
    /**
     * 状态：0未处理 1已处理 2忽略处理
     */
    @TableField("S_STATUS")
    private Integer sStatus;

    @TableField("S_CALLBOX_IP")
    private String sCallBoxIP;

    @TableField("S_CALLBOX_CHANNEL")
    private String sCallboxChannel;

    @TableField("S_TRAINTYPE")
    private String sTrainType;

    @TableField("S_TRAINSETID")
    private String sTrainsetid;

    @TableField("S_JOINTRAINSETID")
    private String sJointrainsetid;

    @TableField("S_INTERZONE")
    private String sInterzone;

    public String getsTrainType() {
        return sTrainType;
    }

    public void setsTrainType(String sTrainType) {
        this.sTrainType = sTrainType;
    }

    public String getsTrainsetid() {
        return sTrainsetid;
    }

    public void setsTrainsetid(String sTrainsetid) {
        this.sTrainsetid = sTrainsetid;
    }

    public String getsJointrainsetid() {
        return sJointrainsetid;
    }

    public void setsJointrainsetid(String sJointrainsetid) {
        this.sJointrainsetid = sJointrainsetid;
    }

    public String getsInterzone() {
        return sInterzone;
    }

    public void setsInterzone(String sInterzone) {
        this.sInterzone = sInterzone;
    }

    public String getsCallBoxIP() {
        return sCallBoxIP;
    }

    public void setsCallBoxIP(String sCallBoxIP) {
        this.sCallBoxIP = sCallBoxIP;
    }

    public String getsCallboxChannel() {
        return sCallboxChannel;
    }

    public void setsCallboxChannel(String sCallboxChannel) {
        this.sCallboxChannel = sCallboxChannel;
    }

    public String getsId() {
        return sId;
    }

    public void setsId(String sId) {
        this.sId = sId;
    }

    public String getsNumber() {
        return sNumber;
    }

    public void setsNumber(String sNumber) {
        this.sNumber = sNumber;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public String getsTrain() {
        return sTrain;
    }

    public void setsTrain(String sTrain) {
        this.sTrain = sTrain;
    }

    public long getsCallTime() {
        return sCallTime;
    }

    public void setsCallTime(long sCallTime) {
        this.sCallTime = sCallTime;
    }

    public Integer getsType() {
        return sType;
    }

    public void setsType(Integer sType) {
        this.sType = sType;
    }

    public Integer getsStatus() {
        return sStatus;
    }

    public void setsStatus(Integer sStatus) {
        this.sStatus = sStatus;
    }

    @Override
    protected Serializable pkVal() {
        return this.sId;
    }

    @Override
    public String toString() {
        return "TdbYjMCallRecord{" +
        "sId=" + sId +
        ", sNumber=" + sNumber +
        ", sName=" + sName +
        ", sTrain=" + sTrain +
        ", sCallTime=" + sCallTime +
        ", sType=" + sType +
        ", sStatus=" + sStatus +
        "}";
    }
}
